package com.cpit.platform.service;

import java.util.List;

import com.cpit.platform.common.entity.TableDataQueryCondition;
import com.cpit.platform.common.entity.TableJsonData;
import com.cpit.platform.dto.Role;

public interface RoleService {
	List<Role> findAll();
	List<Role> findByCondition(int page, 
			int size, 
			String order, 
			String orderBy, 
			String pattern);
	void create(Role auth) throws Exception;
	void modify(Role auth) throws Exception;
	void delete(Role auth) throws Exception;
	@SuppressWarnings("rawtypes")
	public TableJsonData findByConditionJqg(TableDataQueryCondition cond);
}
